import json


class ReadUtil:

    #封装读取数据文件的方法
    @classmethod
    def read_json_data(cls,file_name):
        with open(file_name, "r", encoding="utf-8") as f:
            json_data = json.load(f)
        list_data = []
        for item in json_data:
            temp = tuple(item.values())
            list_data.append(temp)
        return list_data
